package com.example.demo.map;

import com.example.demo.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    List<Student> queryStudent();

    int StudentExist(@Param("id") int id);

    Student queryStudentById(@Param("id") int id);

    int addStudent(Student student);
}
